Automattic\WooCommerce\Blocks\Assets\Api S

Total Complexity 44
Dependencies 2
Dependents 13
Total lines 315
Lines of code 136
Logical lines of code 61
Comment lines 139
Methods 12
Properties 6

Methods 12

Method Rating Maintainability Complexity Lines of code
get_cached_script_data()
A
56 9 18
get_script_data()
S
52 7 26
register_script()
S
52 5 23
__construct()
S
61 5 11
add_inline_script()
S
62 4 11
update_script_data_cache()
S
59 3 16
get_file_version()
S
69 4 6
get_block_metadata_path()
S
68 2 7
register_style()
S
64 2 9
get_asset_url()
S
80 1 3
get_script_data_hash()
S
77 1 3
get_block_asset_build_path()
S
79 1 3